<%-- 
    Document   : MantAvisos
    Created on : 10/10/2012, 08:42:20 PM
    Author     : PC0
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
<body>
	<div class="center_content">
		<h3>Mantenimiento de Avisos</h3>
		<form action="verRegistroAviso.html" method="get">
			<input type="submit" name="btnNuevo" id="btnNuevo" value="Nuevo" />
		</form>
		<table border="1">
			<tr>
				<td>Nombre</td>
				<td>Descripcion</td>
                                <td>Fecha limite</td>
				<td>Editar</td>
				<td>Eliminar</td>
			</tr>


			<c:forEach items="${requestScope.AVISOS}" var="r" varStatus="i">
				<tr>
					<td width="100">${r.nombreAviso}</td>
					<td>${r.descripcionAviso}</td>
                                        <td>${r.fechaLimite}</td>
					<td align="center"><a
						href="editarAviso.html?id=${r.id}"> <img
							src="img/editar.jpg" alt="" title="" border="0" />
					</a></td>
					<td align="center"><a
						href="eliminarAviso.html?id=${r.id}"><img
							src="img/delete.gif" alt="" title="" border="0" /></a></td>
				</tr>
			</c:forEach>
		</table>
	</div>
	<!-- end of center content -->
</body>
</html>